<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>js最全面的数组操作合集 | 一只老鸟</title>
    <meta name="generator" content="VuePress 1.7.1">
    <link rel="icon" href="/img/rty-docs.ico">
    <script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-145250139-1"></script>
    <script>window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-145250139-1');</script>
    <script>var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?96bef00c01d8ee7ee249abc380b9e5ab";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })();</script>
    <meta name="description" content="Welcome to my docs">
    <meta name="keywords" content="jkx,晋凯旋,jkxxmd,vue,js,html,css,英文歌曲,bruno">
    
    <link rel="preload" href="/assets/css/0.styles.eb327ba5.css" as="style"><link rel="preload" href="/assets/js/app.2b0e3d52.js" as="script"><link rel="preload" href="/assets/js/2.87232f21.js" as="script"><link rel="preload" href="/assets/js/40.7694c8be.js" as="script"><link rel="prefetch" href="/assets/js/10.1e2b3af9.js"><link rel="prefetch" href="/assets/js/11.bfd5eea1.js"><link rel="prefetch" href="/assets/js/12.11b2a8d0.js"><link rel="prefetch" href="/assets/js/13.d230b1b6.js"><link rel="prefetch" href="/assets/js/14.8208356f.js"><link rel="prefetch" href="/assets/js/15.badc1e67.js"><link rel="prefetch" href="/assets/js/16.76e6aeba.js"><link rel="prefetch" href="/assets/js/17.ea4ddef2.js"><link rel="prefetch" href="/assets/js/18.e3d36bd1.js"><link rel="prefetch" href="/assets/js/19.aa1bac84.js"><link rel="prefetch" href="/assets/js/20.838765cd.js"><link rel="prefetch" href="/assets/js/21.14466225.js"><link rel="prefetch" href="/assets/js/22.38392bba.js"><link rel="prefetch" href="/assets/js/23.71895fbc.js"><link rel="prefetch" href="/assets/js/24.766c8a49.js"><link rel="prefetch" href="/assets/js/25.6b02ff9f.js"><link rel="prefetch" href="/assets/js/26.ef22337a.js"><link rel="prefetch" href="/assets/js/27.0334ed21.js"><link rel="prefetch" href="/assets/js/28.811fb438.js"><link rel="prefetch" href="/assets/js/29.f687b8ad.js"><link rel="prefetch" href="/assets/js/3.3fc78177.js"><link rel="prefetch" href="/assets/js/30.0eef1a68.js"><link rel="prefetch" href="/assets/js/31.44dad2fc.js"><link rel="prefetch" href="/assets/js/32.959ca33d.js"><link rel="prefetch" href="/assets/js/33.d27370cb.js"><link rel="prefetch" href="/assets/js/34.73319d5f.js"><link rel="prefetch" href="/assets/js/35.09513538.js"><link rel="prefetch" href="/assets/js/36.c77663c8.js"><link rel="prefetch" href="/assets/js/37.89852ede.js"><link rel="prefetch" href="/assets/js/38.a9026d97.js"><link rel="prefetch" href="/assets/js/39.2cb07eac.js"><link rel="prefetch" href="/assets/js/4.50419328.js"><link rel="prefetch" href="/assets/js/41.0b071795.js"><link rel="prefetch" href="/assets/js/42.731a77fd.js"><link rel="prefetch" href="/assets/js/43.e340c04a.js"><link rel="prefetch" href="/assets/js/44.32723933.js"><link rel="prefetch" href="/assets/js/45.fddbc294.js"><link rel="prefetch" href="/assets/js/46.7227ca9a.js"><link rel="prefetch" href="/assets/js/47.e445b894.js"><link rel="prefetch" href="/assets/js/48.22f08eaa.js"><link rel="prefetch" href="/assets/js/49.1ee7be95.js"><link rel="prefetch" href="/assets/js/5.f4c7dd9b.js"><link rel="prefetch" href="/assets/js/50.620525ff.js"><link rel="prefetch" href="/assets/js/51.23ef9c37.js"><link rel="prefetch" href="/assets/js/52.ab599220.js"><link rel="prefetch" href="/assets/js/53.6f0a5a12.js"><link rel="prefetch" href="/assets/js/54.0af9ce80.js"><link rel="prefetch" href="/assets/js/55.9a619ce4.js"><link rel="prefetch" href="/assets/js/56.d3eb58e2.js"><link rel="prefetch" href="/assets/js/57.cec694aa.js"><link rel="prefetch" href="/assets/js/58.215ff512.js"><link rel="prefetch" href="/assets/js/59.67b4a2d9.js"><link rel="prefetch" href="/assets/js/6.35564b30.js"><link rel="prefetch" href="/assets/js/60.10fa328d.js"><link rel="prefetch" href="/assets/js/61.eb384a7b.js"><link rel="prefetch" href="/assets/js/62.21995735.js"><link rel="prefetch" href="/assets/js/63.d3376937.js"><link rel="prefetch" href="/assets/js/64.9dc17e46.js"><link rel="prefetch" href="/assets/js/65.faaf4be5.js"><link rel="prefetch" href="/assets/js/66.82d4fd2e.js"><link rel="prefetch" href="/assets/js/67.766e8bbb.js"><link rel="prefetch" href="/assets/js/68.e00a5e5f.js"><link rel="prefetch" href="/assets/js/69.0f9198d3.js"><link rel="prefetch" href="/assets/js/7.826495ef.js"><link rel="prefetch" href="/assets/js/70.05ef2cdd.js"><link rel="prefetch" href="/assets/js/71.0da0e95b.js"><link rel="prefetch" href="/assets/js/72.fd1cda42.js"><link rel="prefetch" href="/assets/js/73.907aa3c6.js"><link rel="prefetch" href="/assets/js/74.dec02a91.js"><link rel="prefetch" href="/assets/js/75.8610ce53.js"><link rel="prefetch" href="/assets/js/76.db9000c6.js"><link rel="prefetch" href="/assets/js/77.fa0311a2.js"><link rel="prefetch" href="/assets/js/78.33ae2bd0.js"><link rel="prefetch" href="/assets/js/79.879fa638.js"><link rel="prefetch" href="/assets/js/8.7a30ba0c.js"><link rel="prefetch" href="/assets/js/80.898b981f.js"><link rel="prefetch" href="/assets/js/81.b606e1f8.js"><link rel="prefetch" href="/assets/js/82.5006eb1e.js"><link rel="prefetch" href="/assets/js/83.604f41d2.js"><link rel="prefetch" href="/assets/js/84.2e649063.js"><link rel="prefetch" href="/assets/js/85.50f34442.js"><link rel="prefetch" href="/assets/js/86.aee7b865.js"><link rel="prefetch" href="/assets/js/87.9b812977.js"><link rel="prefetch" href="/assets/js/88.52e08a6c.js"><link rel="prefetch" href="/assets/js/9.7b6af510.js">
    <link rel="stylesheet" href="/assets/css/0.styles.eb327ba5.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">一只老鸟</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
  主页
</a></div><div class="nav-item"><a href="/components/introduction.html" class="nav-link">
  VUE
</a></div><div class="nav-item"><a href="/english/introduction.html" class="nav-link">
  Javascript
</a></div><div class="nav-item"><a href="/music/introduction.html" class="nav-link">
  Html5
</a></div><div class="nav-item"><a href="/oral/introduction.html" class="nav-link">
  CSS
</a></div> <a href="https://github.com/jgsrty/jgsrty.github.docs" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link">
  主页
</a></div><div class="nav-item"><a href="/components/introduction.html" class="nav-link">
  VUE
</a></div><div class="nav-item"><a href="/english/introduction.html" class="nav-link">
  Javascript
</a></div><div class="nav-item"><a href="/music/introduction.html" class="nav-link">
  Html5
</a></div><div class="nav-item"><a href="/oral/introduction.html" class="nav-link">
  CSS
</a></div> <a href="https://github.com/jgsrty/jgsrty.github.docs" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav>  <ul class="sidebar-links"><li><a href="/english/introduction.html" class="sidebar-link">导读</a></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>2019十二月(December)</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/english/2019/2019-December/What Is a Calorie.html" class="sidebar-link">对象：{ }</a></li><li><a href="/english/2019/2019-December/Why Is Water so Important.html" class="sidebar-link">水为何如此重要</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019十一月(November)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019十月(October)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019九月(September)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019八月(August)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019七月(July)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019六月(June)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019年五月(May)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019年四月(April)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019年三月(March)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019年二月(Feburary)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2019年一月(January)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2018年十二月(December)</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>2018年十一月(November)</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/english/2018/2018-November/Seize the Day.html" class="sidebar-link">js组成</a></li><li><a href="/english/2018/2018-November/The Religion of a Doctor.html" class="sidebar-link">Document Object Model DOM</a></li><li><a href="/english/2018/2018-November/World Inequality and Complexity 1.html" class="sidebar-link">面向对象</a></li><li><a href="/english/2018/2018-November/World Inequality and Complexity 2.html" class="active sidebar-link">js最全面的数组操作合集</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#一-数组添加、删除、替换、截取操作" class="sidebar-link">一.数组添加、删除、替换、截取操作</a></li><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#二-数组与字符串的相互转化" class="sidebar-link">二.数组与字符串的相互转化</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#数组中元素的查找" class="sidebar-link">数组中元素的查找</a></li></ul></li><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#三-数组常见遍历方式" class="sidebar-link">三.数组常见遍历方式</a></li><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#四-数组的反叙、排序" class="sidebar-link">四.数组的反叙、排序</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#自定义排序" class="sidebar-link">自定义排序</a></li></ul></li><li class="sidebar-sub-header"><a href="/english/2018/2018-November/World Inequality and Complexity 2.html#五-其它方法" class="sidebar-link">五.其它方法</a></li></ul></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>2018年十月(October)</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="js最全面的数组操作合集"><a href="#js最全面的数组操作合集" class="header-anchor">#</a> js最全面的数组操作合集</h1> <h2 id="一-数组添加、删除、替换、截取操作"><a href="#一-数组添加、删除、替换、截取操作" class="header-anchor">#</a> 一.数组添加、删除、替换、截取操作</h2> <p>1.arr.unshift(1)
在数组头部添加一个元素 1 (直接改变原数组，返回值为添加元素后数组的length)
2.arr.shift()
在数组的头部删除一个元素 （直接改变原来数组，返回值为删除的元素）
3.arr.push(1)
在数组末尾添加一个元素 1（直接改变原数组，返回值为添加元素后数组的length）
4.arr.pop()
删除数组最后一个元素。(直接改变原数组，返回值为删除的位数 1 ）
5.arr.splice(index,number,exchange)
删除或替换元素。（改变原数组，返回值为删除或替换掉的元素组成的数组。index是删除或替换
的位置为必填，number是要删除或替换为位数为必填，exchange为要替换的值为选填且可为多个
值。）
6.arr.slice(start,end);
截取数组 （不改变原数组，返回值为截取的数组，start开始窃取，到end之前一个元素，注意：
end不考虑在截取的范围内）
特殊用法：深度拷贝数组 let a = arr.slice(0);
let arr = [1,2,3,4,5,6];
let a = arr.slice(2); //从index 2位置截取到数组末尾。a为 [3,4,5,6] <em>注：如果只
有start，end默认为0</em>
a = arr.slice(2,6); 从index 2位置截取到index 6­1 的位置。a为 [3,4,5]
7.arr.concat(arr1,arr2,...);
不改变原来数组值，返回为 多个数组按照顺序组合而成的新的数组，同ES6 中
[...arr,...arr1,...arr2] 效果一致。
特殊用法：深度拷贝数组 let a = arr.concat();</p> <h2 id="二-数组与字符串的相互转化"><a href="#二-数组与字符串的相互转化" class="header-anchor">#</a> 二.数组与字符串的相互转化</h2> <p>1.arr.join('连接符号') ;
数组转换为字符串 （连接符号为空时，默认以 “,” 连接）；
2.str.split('分割字符');
字符串转换为数组 （分割字符为空时，默认为‘’ 即每一个字符为一个元素进行截取加入到数组
中）</p> <h3 id="数组中元素的查找"><a href="#数组中元素的查找" class="header-anchor">#</a> 数组中元素的查找</h3> <p>1.arr.indexOf('a');
正序遍历arr，返回arr数组中 第一个遍历到 的 元素 ‘a’ 所在位置，如不存在则返回 -1；
2.arr.lastIndexOf
反序遍历arr，返回arr数组中 第一个遍历到 的 元素 ‘a’ 所在位置，如不存在则返回 -1；
3.arr.includes('a');
如果arr数组中存在 ‘a’ 返回 true，否则返回false；</p> <h2 id="三-数组常见遍历方式"><a href="#三-数组常见遍历方式" class="header-anchor">#</a> 三.数组常见遍历方式</h2> <p>1.for循环，while循环，do while循环，for of
2.arr.every （返回值：true/false）
对数组中的每一项运行给定函数，如果改函数对每一项返回true，则返回true，否则返回false。
let arr = [2,3,1,4,5,7,6];
let a = arr.every((curr,index) =&gt; {
return curr &gt; 3
})
console.log(a); //arr中存在小于3的元素，并不是每一项都返回的ture，打印 false
3.arr.some (返回值：true/false)
对数组中的每一项运行给定函数，如果改函数有一项返回true，则返回true，全部返回false时返
回false。
let arr = [2,3,1,4,5,7,6];
let a = arr.every((curr,index) =&gt; {
return curr &gt; 3
})
console.log(a); //arr中存在大于3的元素，打印 true。
4.arr.forEach
对数组中每一项运行给定函数，无返回值。作用为逻辑处理。
5.arr.filter
返回一个满足条件的新数组，但新数组必是原数组的一个子集（新数组的所有元素都来源于原数
组），filter 意思为筛选，也就是从原数组筛选出满足条件的元素组合形成的新数组。</p> <div class="language- extra-class"><pre class="language-text"><code>let target = [1,2,4,6,7,9].filter((curr,index) =&gt; {
if(curr &lt;=5 ){
return curr;
}
});
console.log(target); //[1,2,4]
</code></pre></div><p>6.arr.map
对数组的每一项运行给定函数，返回每次函数调用的结果（return 返回的值）组成的数组。</p> <div class="language- extra-class"><pre class="language-text"><code>let arr = [1,2,3,4,5];
let a = arr.map((curr,index) =&gt; {
return curr + 1;
});
console.log(a); // [2,3,4,5,6]
</code></pre></div><p>7.arr.reduce
对函数的每一项执行给定函数，返回一个被叠加到累加器的值，reduce执行完毕后 返回这个累加
器</p> <div class="language- extra-class"><pre class="language-text"><code>let arr = [1,2,3,4,5];
let a = arr.reduce((previous, current, index) =&gt; { previous 为累加器，默认为 arr
[0] ,从index 为 1开始叠加。
return previous + current;
})
console.log(a); //15
[x1, x2, x3, x4].reduce(f) = f(f(f(x1, x2), x3), x4); //reduce运算法则
</code></pre></div><p>注意：every 、some、filter、map、forEach 中无法中途终止遍历，这几种方法都会将arr数组
的每一个元素进行遍历，并执行运行函数。</p> <h2 id="四-数组的反叙、排序"><a href="#四-数组的反叙、排序" class="header-anchor">#</a> 四.数组的反叙、排序</h2> <p>1.arr.reverse ();
改变原数组，将arr反序排列。
2.arr.sort();
改变原数组,将arr 递增排列 或 递减排列
let arr = [1,4,2,5,3];
arr.sort((a,b) =&gt; {
return a ­ b; //递增排列
//return b ­ a; 递减排列
})；
console.log(arr); // [1,2,3,4,5]</p> <h3 id="自定义排序"><a href="#自定义排序" class="header-anchor">#</a> 自定义排序</h3> <div class="language- extra-class"><pre class="language-text"><code>let friends = [
{name:'zhangsan',sex:'man',age:20},
{name:'lisi',sex:'man',age:29},
{name:'wangwu',sex:'man',age:26}
];
friends.sort((a,b) =&gt; {
if(a.age &lt; b.age){
return ­1;
}
if(a.age &gt; b.age){
return 1;
}
return 0;
//可简化为 return a.age ­ b.age; 递增排序
//return b.age ­ a.age; 递减排序
});
console.log(friends);
</code></pre></div><h2 id="五-其它方法"><a href="#五-其它方法" class="header-anchor">#</a> 五.其它方法</h2> <p>Array.from(arr);
返回一个新的数组。可用于数组的深拷贝，也可以将类数组转化为数组。</p> <div class="language- extra-class"><pre class="language-text"><code>function sum () {
let str = Array.from(arguments).join(',');
//或者let str = Array.prototype.join.call( arguments, ',' );
console.log(str);
}
sum(1,2,3,4); // 1,2,3,4
</code></pre></div><p>//如果直接使用arguments.join(',') 系统会报错：arguments不是一个数组。实际上arguments
为一个类数组，不拥有数组的一些方法。
//我们操作dom节点时候，找到的节点集和也为一个类数组。
//ES6 提供的Set 数据类型为一个类数组，可利用Array.from(set) 将Set类型转化为标准的数组；
ps：也可利用Set的无重复性，先将数组转化为Set （new Set(arr)），再利用Array.from() ,实
现数组的去重。
new Array(n).fill(0);
新建一个n位数的数组，并用0进行填充。</p> <div class="language- extra-class"><pre class="language-text"><code>let a = new Array(3).fill(0);
console.log(a);//[0,0,0]
</code></pre></div></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/jgsrty/jgsrty.github.docs/edit/master/docs/english/2018/2018-November/World Inequality and Complexity 2.md" target="_blank" rel="noopener noreferrer">Edit this page</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">12/23/2020, 4:59:13 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/english/2018/2018-November/World Inequality and Complexity 1.html" class="prev">
        面向对象
      </a></span> <span class="next"><a href="/english/2018/2018-October/Kindness is more important than Clever.html">
        原型 原型链
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/assets/js/app.2b0e3d52.js" defer></script><script src="/assets/js/2.87232f21.js" defer></script><script src="/assets/js/40.7694c8be.js" defer></script>
  </body>
</html>
